﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConfigCreate
{
    /// <summary>
    /// 设置配置文件路径
    /// </summary>
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class CreateConfigPathAttribute : Attribute
    {
        /// <summary>
        /// 设置配置文件路径
        /// </summary>
        /// <param name="config_path"></param>
        public CreateConfigPathAttribute(string config_path)
        {
            ConfigPath = config_path;
        }

        /// <summary>
        /// 配置文件路径
        /// </summary>
        public string ConfigPath { get; set; }
    }
}
